package com.axjy.service;

import com.axjy.pojo.Menu;
import com.axjy.pojo.User;
import com.axjy.vo.TreeNode;

import java.util.List;
import java.util.Map;

public interface PermissionService {

    public List<TreeNode> search4Tree(Integer rid) ;

    public void grant(Integer rid,Integer[] mids);

    public Map<Menu,List<Menu>> createNavigator(User loginUser);

}
